﻿using System;

namespace edowork.com.Model
{
    #region goodsunitInfo

    [Serializable]
    public class goodsunitInfo
    {
        #region Private fields

        protected string _goodsunitid = String.Empty;
        protected string _goodsunitname = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public goodsunitInfo() { }

        #region Public Properties

        public string Goodsunitid
        {
            get { return _goodsunitid; }
            set { _goodsunitid = value; }
        }

        public string Goodsunitname
        {
            get { return _goodsunitname; }
            set { _goodsunitname = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into goodsunit(Goodsunitid,Goodsunitname,Sysdate) values('{0}','{1}','{2}')";
        }

        #endregion

    }

    #endregion
}

